<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>&nbsp;</title>
    </head>
    <body>
         <form id="fm" method="post" action="app/btRecord/pass">
         <input type="hidden" name="ids" value="${ids!}">
         <input type="hidden" name="id" value="${(btRecord.id)!}">
         <input type="hidden" name="result" value="2">
                 <input class="easyui-textbox" name="prik" style="width:100%;height:120px" prompt="请输入密钥,该秘钥系统不会保存!" data-options="label:'密钥:',required:true,multiline:true">
        </form>
        <div style="text-align:center;padding:5px">
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm()" style="width:80px">通过</a>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <#if btRecord??>
                <a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeForm()" style="width:80px">关闭</a>
            <#else> 
                <a href="javascript:void(0)" class="easyui-linkbutton" onclick="clearForm()" style="width:80px">重置</a>
            </#if>
        </div>
       
       <script type="text/javascript">
            function submitForm(){
                $('#fm').form('submit',{
                	success:function(){
                		$('#form').dialog('close');
                	}
                });
            }
            function clearForm(){
                $('#fm').form('clear');
            }
            function closeForm(){
            	$('#form').dialog('close');
            }
       </script>
    </body>
     
</html>